package com.eorchis.module.sysdeptuser.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.eorchis.utils.utils.PropertyUtil;

/**
 * 同步部门Bean<br>
 * Description: <br>
 * Copyright @ 2011~2016 Goldgov .All rights reserved.<br>
 * @author LongJZ
 * @createDate 2016-1-7
 * @version $Revision: $
 */
public class SysDepartmentBean {

	public static final String QUERY_TYPE = "department";

	private String depid;// 部门ID
	private String parentId;// 父级ID
	private String depname;// 部门名称
	private String deptCode;// 部门编号
	private String deptAddress;// 地址
	private String deptPostNum;// 邮编
	private String deptPhone;// 电话
	private Integer orderNum;// 排序序号
	private String depkindCode;// 部门性质类别编码
	private String treepath;// 树路径
	private Integer activeState;// 活动状态
	private Integer reportDepid;// 统计归属部门ID
	private Date operateTime;// 最后修改时间

	public String getDepid() {
		return depid;
	}

	public void setDepid(BigDecimal depid) {
		this.depid = PropertyUtil.objectNotEmpty(depid) ? depid.toString() : null;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(BigDecimal parentId) {
		this.parentId = PropertyUtil.objectNotEmpty(parentId) ? parentId.toString() : null;
	}

	public String getDepname() {
		return depname;
	}

	public void setDepname(String depname) {
		this.depname = depname;
	}

	public String getDeptCode() {
		return deptCode;
	}

	public void setDeptCode(String deptCode) {
		this.deptCode = deptCode;
	}

	public String getDeptAddress() {
		return deptAddress;
	}

	public void setDeptAddress(String deptAddress) {
		this.deptAddress = deptAddress;
	}

	public String getDeptPostNum() {
		return deptPostNum;
	}

	public void setDeptPostNum(String deptPostNum) {
		this.deptPostNum = deptPostNum;
	}

	public String getDeptPhone() {
		return deptPhone;
	}

	public void setDeptPhone(String deptPhone) {
		this.deptPhone = deptPhone;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public String getDepkindCode() {
		return depkindCode;
	}

	public void setDepkindCode(String depkindCode) {
		this.depkindCode = depkindCode;
	}

	public String getTreepath() {
		return treepath;
	}

	public void setTreepath(String treepath) {
		this.treepath = treepath;
	}

	public Integer getActiveState() {
		return activeState;
	}

	public void setActiveState(Integer activeState) {
		this.activeState = activeState;
	}

	public Integer getReportDepid() {
		return reportDepid;
	}

	public void setReportDepid(Integer reportDepid) {
		this.reportDepid = reportDepid;
	}

	public Date getOperateTime() {
		return operateTime;
	}

	public void setOperateTime(Date operateTime) {
		this.operateTime = operateTime;
	}
}
